<template>
    <div>
        <h1>home</h1>
        <p>{{msg}}</p>
        <Button type="ghost" @click="handleStart">Start iView</Button>
    </div>
</template>
<script>
    export default {
        data () {
            return {
                msg: "我是home 组件"
            }
        },
        methods: {
            handleStart () {
                this.$Modal.info({
                    title: 'Bravo',
                    content: 'Now, enjoy the convenience of iView.'
                });
            }
        }
    }
</script>